﻿using System;
using YKXiangQi.Enums;
using YKXiangQi.Models;
using YKXiangQi.ViewModels;

namespace YKXiangQi.EventHandlers
{
    public delegate void PieceMovedEventHandler(object sender, PieceMovedEventArgs e);

    public class PieceMovedEventArgs : EventArgs
    {
        public PieceViewModel Piece { get; set; }
        public Point From { get; set; }
        public Point To { get; set; }
        public PieceMovedType Type { get; set; }
    }
}
